/**
 * @constructor
 */
function EmbeddedUrl()
{
	"use strict";

	/** @type {EmbeddedUrl} */
	var _url = this;
	/** @type {string} */
	var _path = window.location.pathname;       // /embed/72157624472928513/
	/** @type {String} */
	this.setID = Enum.flickr.favoriteSet;

	function init()
	{
		var setMatch = /\/embed(-test)?\/(\d{14,17})\/?$/;
		var matches = setMatch.exec(_path);
		if (matches != null && matches.length > 0) { _url.setID = matches[2]; }
	}

	init();
}